Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commitlint/resolve-extends

Package Overview
Dependencies
Maintainers
4
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/resolve-extends

Lint your commit messages

  • 13.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.7M
decreased by-8.23%
Maintainers
4
Weekly downloads
 
Created

What is @commitlint/resolve-extends?

@commitlint/resolve-extends is a utility package used to resolve and load shareable configurations for commitlint. Commitlint is a tool that helps enforce consistent commit message conventions. This package helps in resolving the 'extends' key in commitlint configuration files, allowing users to extend from predefined or custom configurations.

What are @commitlint/resolve-extends's main functionalities?

Resolve Shareable Configurations

This feature allows you to resolve and load shareable configurations specified in the 'extends' key of your commitlint configuration file. The code sample demonstrates how to resolve the '@commitlint/config-conventional' configuration.

const resolveExtends = require('@commitlint/resolve-extends');

async function resolveConfig() {
  const config = await resolveExtends(['@commitlint/config-conventional']);
  console.log(config);
}

resolveConfig();

Custom Configuration Resolution

This feature allows you to resolve custom configurations by specifying the path to the custom configuration file. The code sample demonstrates how to resolve a custom configuration located at './path/to/custom-config'.

const resolveExtends = require('@commitlint/resolve-extends');

async function resolveCustomConfig() {
  const config = await resolveExtends(['./path/to/custom-config']);
  console.log(config);
}

resolveCustomConfig();

Other packages similar to @commitlint/resolve-extends

Keywords

FAQs

Package last updated on 28 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc